import config from "@/config"
import http from "@/utils/request"

export default {
	url: `${config.API_URL}/system/menu/getRouters`,
	get: async function(){
		var res = {}
		res = await http.get(this.url);
		if (res.code == 200){
			return res.data;
		}
	},
}